package com.wisezone.workflow.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wisezone.common.bean.entity.BaseEntity;

/**
 * 活动对象
 * 
 * @author tss 2009-09-05
 * 
 */
@Entity
@Table(name = "wf_data_dictionary")
public class WfDataDictionary extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1631288784193727701L;

	/**
	 * ID
	 */
	private Long id;

	/**
	 * 类别
	 */
	@Column(name = "category", length = 8)
	private String category;

	/**
	 * 编码
	 */
	@Column(name = "code", length = 50)
	private String code;

	/**
	 * 名称
	 */
	@Column(name = "name", length = 50)
	private String name;

	/**
	 * 父ID
	 */
	@Column(name = "parent_id", length = 8)
	private Long parentId;

	/**
	 * 备注
	 */
	@Column(name = "memo", length = 100)
	private String memo;

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	@Override
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

}